package com.qtenv.datasync.service.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 数据中断反馈表
 * </p>
 *
 * @author CBL
 * @since 2022-09-22
 */
@Data
@TableName("dm_data_perfect")
@ApiModel(value = "DataPerfect对象", description = "数据中断反馈表")
public class DataPerfect implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("平台自增主键")
    @TableId(value = "ID", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("租户ID")
    @TableField("tenant_id")
    private String tenantId;

    @ApiModelProperty("设备编号")
    @TableField("TerminalID")
    private String terminalID;

    @ApiModelProperty("数据中断时间")
    @TableField("Data_outage_time")
    private String dataOutageTime;

    @ApiModelProperty("数据补齐时间")
    @TableField("Data_completion_time")
    private String dataCompletionTime;

    @ApiModelProperty("数据是否完善(0为未完善,1为已完善)")
    @TableField("refine")
    private Integer refine;

    @ApiModelProperty("重拉数据次数")
    @TableField("repull_count")
    private Integer repullCount;
}